<template>
  <div class="index-container">
    <SwitchSubject></SwitchSubject>

    <van-grid :gutter="15" :border="false" :column-num="2">
      <van-grid-item v-show="index < 4" v-for="(item, index) in list" :key="index">
        <van-image width="100%" height="105" :src="item.cover" />
        <div>123456</div>
      </van-grid-item>
    </van-grid>
  </div>
</template>

<script>
import SwitchSubject from '@/components/SwitchSubject'
export default {
  components: {
    SwitchSubject
  },
  data() {
    return {
      list: []
    }
  },
  computed: {},
  mounted() {
    console.log(213)
  },
  methods: {}
}
</script>

<style lang="scss" scoped>
.index-container {
}
</style>
